package com.ym.medical.service;

import com.github.pagehelper.PageInfo;

import com.ym.medical.domain.entity.PhoneRuleEntity;
import com.ym.medical.domain.entity.TextRuleEntity;
import com.ym.medical.domain.param.ExamDoctorParam;
import com.ym.medical.domain.param.PhoneRuleModel;
import com.ym.medical.domain.param.TextRuleParam;
import com.ym.medical.domain.vo.DoctorServiceItemVO;
import com.ym.medical.domain.vo.DoctorServiceVO;


import java.util.List;

public interface IConsultSV {
    TextRuleEntity insertTextRule(TextRuleEntity textRule);

    TextRuleEntity updateTextRule(TextRuleEntity textRule);

    PhoneRuleEntity insertPhoneRule(PhoneRuleEntity phoneRule);

    PhoneRuleEntity updatePhoneRule(PhoneRuleEntity phoneRule);

    PageInfo<DoctorServiceItemVO> doctorList(ExamDoctorParam examDoctor, int pageNum, int pageSize);

    void deleteTextRule(Long[] ids);

    void deletePhoneRule(Long[] ids);

    PageInfo<TextRuleEntity> listTextRule(TextRuleParam textRule, int pageNum, int pageSize);

    PageInfo<PhoneRuleEntity> listPhoneRule(PhoneRuleModel phoneRule, int pageNum, int pageSize);


    List<DoctorServiceVO>  serviceItemList(Long doctorId, String seriLabel, int pageNum, int pageSize);
}
